package org.jeecg.modules.controller;


import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.jeecg.common.api.vo.Result;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @Description: 测试控制层
 * @Author: jeecg-boot
 * @Date:   2022-11-29
 * @Version: V1.0
 */
@Api(tags="测试控制层")
@RestController
@RequestMapping("/boot/bootTestController")
@Slf4j
public class BootTestController {

    /**
      * 测试
    *
    * @param request
    * @param response
    * @return
    */
    @ApiOperation("测试")
    @RequestMapping(value = "/bootTest", method = RequestMethod.GET)
    public Result<?> bootTest(HttpServletRequest request, HttpServletResponse response) {
        return Result.OK("测试成功");
    }

}
